# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'D:\develop\apps\local\vermodeling\src\vermodeling\multireplace\resources\replace_form.ui'
#
# Created: Thu Mar 02 10:11:44 2017
#      by: pyside-uic 0.2.15 running on PySide 1.2.4
#
# WARNING! All changes made in this file will be lost!

from PySide import QtCore, QtGui

class Ui_replaceForm(object):
    def setupUi(self, replaceForm):
        replaceForm.setObjectName("replaceForm")
        replaceForm.resize(330, 383)
        replaceForm.setMinimumSize(QtCore.QSize(330, 0))
        self.verticalLayout_2 = QtGui.QVBoxLayout(replaceForm)
        self.verticalLayout_2.setSizeConstraint(QtGui.QLayout.SetFixedSize)
        self.verticalLayout_2.setContentsMargins(9, 9, 9, 9)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.addRepObjBtn = QtGui.QPushButton(replaceForm)
        self.addRepObjBtn.setObjectName("addRepObjBtn")
        self.horizontalLayout.addWidget(self.addRepObjBtn)
        self.delRepObjBtn = QtGui.QPushButton(replaceForm)
        self.delRepObjBtn.setObjectName("delRepObjBtn")
        self.horizontalLayout.addWidget(self.delRepObjBtn)
        self.clearRepObjBtn = QtGui.QPushButton(replaceForm)
        self.clearRepObjBtn.setObjectName("clearRepObjBtn")
        self.horizontalLayout.addWidget(self.clearRepObjBtn)
        self.verticalLayout_2.addLayout(self.horizontalLayout)
        self.repObjListWidget = QtGui.QListWidget(replaceForm)
        self.repObjListWidget.setObjectName("repObjListWidget")
        self.verticalLayout_2.addWidget(self.repObjListWidget)
        self.horizontalLayout_7 = QtGui.QHBoxLayout()
        self.horizontalLayout_7.setObjectName("horizontalLayout_7")
        self.repRunBtn = QtGui.QPushButton(replaceForm)
        self.repRunBtn.setStyleSheet("")
        self.repRunBtn.setObjectName("repRunBtn")
        self.horizontalLayout_7.addWidget(self.repRunBtn)
        self.toolButton = QtGui.QToolButton(replaceForm)
        self.toolButton.setCheckable(True)
        self.toolButton.setAutoRaise(True)
        self.toolButton.setArrowType(QtCore.Qt.DownArrow)
        self.toolButton.setObjectName("toolButton")
        self.horizontalLayout_7.addWidget(self.toolButton)
        self.horizontalLayout_7.setStretch(0, 10)
        self.verticalLayout_2.addLayout(self.horizontalLayout_7)
        self.detailWidget = QtGui.QWidget(replaceForm)
        self.detailWidget.setObjectName("detailWidget")
        self.verticalLayout = QtGui.QVBoxLayout(self.detailWidget)
        self.verticalLayout.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout.setObjectName("verticalLayout")
        self.line = QtGui.QFrame(self.detailWidget)
        self.line.setFrameShape(QtGui.QFrame.HLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName("line")
        self.verticalLayout.addWidget(self.line)
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.label = QtGui.QLabel(self.detailWidget)
        self.label.setStyleSheet("")
        self.label.setObjectName("label")
        self.horizontalLayout_2.addWidget(self.label)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem)
        self.verticalLayout.addLayout(self.horizontalLayout_2)
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_3.addItem(spacerItem1)
        self.label_2 = QtGui.QLabel(self.detailWidget)
        self.label_2.setStyleSheet("")
        self.label_2.setObjectName("label_2")
        self.horizontalLayout_3.addWidget(self.label_2)
        spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_3.addItem(spacerItem2)
        self.verticalLayout.addLayout(self.horizontalLayout_3)
        self.horizontalLayout_4 = QtGui.QHBoxLayout()
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        spacerItem3 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_4.addItem(spacerItem3)
        self.label_3 = QtGui.QLabel(self.detailWidget)
        self.label_3.setStyleSheet("")
        self.label_3.setObjectName("label_3")
        self.horizontalLayout_4.addWidget(self.label_3)
        spacerItem4 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_4.addItem(spacerItem4)
        self.verticalLayout.addLayout(self.horizontalLayout_4)
        self.horizontalLayout_5 = QtGui.QHBoxLayout()
        self.horizontalLayout_5.setObjectName("horizontalLayout_5")
        spacerItem5 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_5.addItem(spacerItem5)
        self.label_4 = QtGui.QLabel(self.detailWidget)
        self.label_4.setStyleSheet("")
        self.label_4.setObjectName("label_4")
        self.horizontalLayout_5.addWidget(self.label_4)
        spacerItem6 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_5.addItem(spacerItem6)
        self.verticalLayout.addLayout(self.horizontalLayout_5)
        self.horizontalLayout_6 = QtGui.QHBoxLayout()
        self.horizontalLayout_6.setObjectName("horizontalLayout_6")
        self.label_5 = QtGui.QLabel(self.detailWidget)
        self.label_5.setStyleSheet("")
        self.label_5.setObjectName("label_5")
        self.horizontalLayout_6.addWidget(self.label_5)
        spacerItem7 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_6.addItem(spacerItem7)
        self.verticalLayout.addLayout(self.horizontalLayout_6)
        self.verticalLayout_2.addWidget(self.detailWidget)
        spacerItem8 = QtGui.QSpacerItem(20, 0, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout_2.addItem(spacerItem8)

        self.retranslateUi(replaceForm)
        QtCore.QObject.connect(self.clearRepObjBtn, QtCore.SIGNAL("clicked()"), self.repObjListWidget.clear)
        QtCore.QObject.connect(self.toolButton, QtCore.SIGNAL("toggled(bool)"), self.detailWidget.setShown)
        QtCore.QMetaObject.connectSlotsByName(replaceForm)

    def retranslateUi(self, replaceForm):
        replaceForm.setWindowTitle(QtGui.QApplication.translate("replaceForm", "Replace (替换)", None, QtGui.QApplication.UnicodeUTF8))
        self.addRepObjBtn.setText(QtGui.QApplication.translate("replaceForm", "Add +", None, QtGui.QApplication.UnicodeUTF8))
        self.delRepObjBtn.setText(QtGui.QApplication.translate("replaceForm", "Del -", None, QtGui.QApplication.UnicodeUTF8))
        self.clearRepObjBtn.setText(QtGui.QApplication.translate("replaceForm", "Clear ", None, QtGui.QApplication.UnicodeUTF8))
        self.repRunBtn.setText(QtGui.QApplication.translate("replaceForm", " Random Replace (随机替换)", None, QtGui.QApplication.UnicodeUTF8))
        self.toolButton.setText(QtGui.QApplication.translate("replaceForm", "...", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("replaceForm", "<html><head/><body><p><span style=\" font-weight:600; color:#ffff00;\">使用说明：</span></p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("replaceForm", "1. 将目标物体添加到列表中（可多个）", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(QtGui.QApplication.translate("replaceForm", "2. 在场景中选择要被替换的物体", None, QtGui.QApplication.UnicodeUTF8))
        self.label_4.setText(QtGui.QApplication.translate("replaceForm", "3. 在面板中点击替换按钮执行", None, QtGui.QApplication.UnicodeUTF8))
        self.label_5.setText(QtGui.QApplication.translate("replaceForm", "<html><head/><body><p><span style=\" font-weight:600; color:#4ade00;\">此操作可撤销！</span></p></body></html>", None, QtGui.QApplication.UnicodeUTF8))

